// import myAxios from "./myAxios";
import request from './request'
// export function loginByPassword(data) {
//     return myAxios({
//         url: "/user/login",
//         method: "post",
//         data
//     });
// }
export function checkCaptcha(param) {
    return request({
        url: '/captcha/check',
        method: 'post',
        params: {
            captcha: param
        }
    })
}
export function getCaptcha() {
    return request({
        url: '/captcha/getCaptcha',
        method: 'get'
    })
}